import Home from '@/pages/Home';
import Login from '@/pages/Login';
import Search from '@/pages/Search';
import Register from '@/pages/Register';
export default [
    /*注册路由组件*/
    {
        path:'/',
        component:Home
    },
    {
        path:'/search',
        component:Search
    },
    {
        path:'/login',
        component:Login,
        meta:{
            isFooterHide:true
        }
    },
    {
        path:'/register',
        component:Register,
        meta:{
            isFooterHide:true
        }
    },
    /*重定向*/
    {
        path: '/',
        redirect:'/'
    }

]
